<script setup lang="ts">
import {useUserStore} from '@/store/user.js'
import { onMounted,onUnmounted,onBeforeUnmount } from 'vue'
import {logoutApi} from '@/api/handleLogin.js'
const store = useUserStore()

onMounted(()=>{
  store.reload()
})

</script>

<template>
  <RouterView />
</template>

<style lang="less">
  body{
    position: relative;
    box-sizing: border-box;
    background-color: #fae9b6;

    #app{
      box-sizing: border-box;
      // padding: 15px !important;
      padding: 0px;
      width: 100%;
      max-width: 100%;
    }

    ul{
      padding: 0;
      li{
        list-style: none;
      }
    }
  }


</style>
